/*
                  InterfaceGameSummary Class Definition
*/

#ifndef INTERFACEGAMESUMMARY_H
#define INTERFACEGAMESUMMARY_H

#include <boost/lexical_cast.hpp>

#include "Interface.h"
#include "SummaryInfo.h"
#include "GUISystem/PlayerSummaryFrame.h"

using namespace std;
using boost::lexical_cast;
using boost::bad_lexical_cast;

class InterfaceGameSummary : public Interface
{
    public:
        InterfaceGameSummary();
        ~InterfaceGameSummary();

        int Initialise();
        InterfaceType HandleInput(const SDL_Event& event);
        int Draw(SDL_Surface *surface);

        InterfaceType CheckWidgetEvents();

    protected:
        FrameGroup frmgSummary;

        Frame *frmOptionbar;
        Button *btnBack;

        Frame *frmTabs;
        Button *btnOverview;

        Frame *frmOverview;
        Label *lblWinner;
        Label *lblWinnerName;

        vector<Button*> PlayerTabs;
        vector<PlayerSummaryFrame*> PlayerSummaryFrames;

        void HideSummaryFrames();
};

#endif

